﻿@model IEnumerable<AutomatedTestDataManagement.Models.StepKind>

@{
    ViewBag.Title = "Step Kinds";
}

<h2>Step Kinds</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.Label("Step Kind Name")
        </th>
        <th>
            @Html.Label("Step Description")
        </th>
        <th>
            @Html.Label("Data Table")
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.StepKind1)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.StepDescription)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DataTable)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.StepKindID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.StepKindID })
        </td>
    </tr>
}

</table>
